home *** CD-ROM | disk | FTP | other *** search
/ Gamers Delight 2 / Gamers Delight 2.iso / Aminet / game / misc / TownMaze.lha / TownMaze / POSTER < prev    next >
Text File  |  1991-08-05  |  3KB  |  67 lines

  1. Article 104 of alt.sources.amiga:
  2. Path: fishpond!mcdphx!asuvax!ncar!elroy.jpl.nasa.gov!sdd.hp.com!mips!pacbell.com!tandem!zorch!xanthian
  3. From: xanthian@zorch.SF-Bay.ORG (Kent Paul Dolan)
  4. Newsgroups: rec.games.programmer,alt.sources,alt.sources.amiga
  5. Subject: townmaze part 01/04
  6. Summary: Designs Bard's Tale I style city mazes in character graphics
  7. Keywords: BSD 4.3 Unix, AmigaOS 1.3, character graphics
  8. Message-ID: <1991Apr18.034540.7109@zorch.SF-Bay.ORG>
  9. Date: 18 Apr 91 03:45:40 GMT
  10. Followup-To: rec.games.programmer,alt.sources.d
  11. Organization: SF-Bay Public-Access Unix
  12. Lines: 1696
  13.  
  14.  
  15. Archive-name: townmaze/part01
  16.  
  17. Sorry to be so slow at this, but enough folks asked for it I thought
  18. I'd better go ahead and clean up the hacked up mess it began as.  It
  19. now compiles, with only make file changes, on an ANSI C and an old
  20. C compiler on two different architectures/OSs, so perhaps most of the
  21. portability problems will be small ones.  No longer a slave to #defines,
  22. it now has 8 optional command line parameters, malloc()s its work space,
  23. frees it on exit(), and otherwise behaves itself.  It's also grown huge,
  24. from 30K when it first worked as one monolithic file to around 170K now,
  25. aided and abetted by over 50K of documentation, and lots of overhead
  26. from make files and splitting the files out and putting in prototypes
  27. and such stuff.  Enough whining; give this kid a job!  An excerpt from
  28. the README file follows, and then part one of the shar.  This is a
  29. vanilla cshar makekit production (thanks as always to Rich Salz) in four
  30. parts.
  31.  
  32. Kent, the man from xanth.
  33. <xanthian@Zorch.SF-Bay.ORG> <xanthian@well.sf.ca.us>
  34.  
  35.  
  36. Townmaze -- A Program to Design "Bard's Tale I"-Style City Mazes
  37.  
  38. Copyright 1991 by Kent Paul Dolan, Mountain View, CA, USA 94039-0755
  39.  
  40. This program was written in response to a request in USENet newsgroup
  41. rec.games.programmer for "code that designs a town-shaped maze like the
  42. town Bard's Tale I uses"; you be the judge how well it does; I'm quite
  43. proud of the result. The goal is not a great "pencil and paper" maze,
  44. but instead a fun town for a 3D dungeon crawl game to incorporate.
  45. Here's a tiny (7/64 the size of the BT-I town) example output, big ones
  46. look better:
  47.  
  48. ht 15 wd 33 gates 8 left 1 courts 4 unused 2 straight 950 seed 113181
  49. #################################
  50. ### | | # | | # | | # | # # # ###
  51. ##### ##### ##### ##### #-#-#-###
  52. # |   | # | | #   | # #       # #
  53. ###-# ##### ### #####-# ###   #-#
  54. # # # | # |     | # |   | #     #
  55. #-### ####### #-####### ###-###-#
  56. |     | ### | # ### # | # # # # #
  57. #-### ####### #####-### #-###-###
  58. # # #   # #     # |           | #
  59. ###-#   #-#     ###       ### ###
  60. # |                       | # | #
  61. ###-### #-#-#-#-#-#-#-#-# ###-###
  62. ### # | # # # # # # # # # | # ###
  63. #################################
  64.  
  65. There are now _lots_ of command line parameters; (continued in README file).
  66.  
  67.